const express = require('express')
const router = express.Router()
const routerHandler = require("../../router_handler/user")


//首次进入自动注册账号
router.post('/firstRegist',routerHandler.firstRegist)

//注册
router.post('/regist',routerHandler.regist)
//登录
router.post('/login',routerHandler.login)
//获取用户信息
// router.get('/getUserInfo',routerHandler.getUserInfo)

//注销账号
router.post('/removeAccount',routerHandler.removeAccount)
//绑定用户账号
router.post('/bindAccount',routerHandler.bindAccount)
//获取活跃用户
router.post('/getActiveUsers',routerHandler.getActiveUsers)
//获取对应用户历史记录
router.post('/getActiveUsersInfo',routerHandler.getActiveUsersInfo)
//绑定用户是VIP信息
router.post('/bindUserVIP',routerHandler.bindUserVIP)



module.exports = router